From bbb41c9c54c0a727052cb2034fbe37eab0e915a0 Mon Sep 17 00:00:00 2001
From: str4d <str4d@mail.i2p>
Date: Sat, 10 Aug 2013 03:29:58 +0000
Subject: [PATCH] Use dp instead of px, added content description for logo

---
 res/layout/fragment_main.xml | 3 ++-
 res/values/strings.xml       | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/res/layout/fragment_main.xml b/res/layout/fragment_main.xml
index f1ebe11ac..120cd6663 100644
--- a/res/layout/fragment_main.xml
+++ b/res/layout/fragment_main.xml
@@ -3,7 +3,7 @@
     android:layout_width="fill_parent"
     android:layout_height="fill_parent"
     android:fillViewport="true"
-    android:padding="10px"
+    android:padding="10dp"
     android:scrollbarStyle="outsideInset"
     >
 <LinearLayout
@@ -13,6 +13,7 @@
     >
 
     <ImageView
+        android:contentDescription="@string/desc_i2p_logo"
         android:layout_width="fill_parent"
         android:layout_height="wrap_content"
         android:src="@drawable/i2plogo" />
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 484455be9..8e20dd2ad 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -2,6 +2,7 @@
 <resources>
 
     <string name="app_name">I2P</string>
+    <string name="desc_i2p_logo">I2P logo</string>
     <string name="welcome_new_install">Welcome to I2P! This app is ALPHA software and it does not provide strong anonymity. Please read the release notes and license information.</string>
     <string name="welcome_new_version">New version installed. Please read the release notes. Version:</string>
 
-- 
GitLab