aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2019-01-26 15:51:05 +0100
committerChristian Schneppe <christian@pix-art.de>2019-01-26 15:51:05 +0100
commit8f6aa480b5c9cd9c6f1b8243da6ee234394af82c (patch)
tree54939c94d6b26d98614b06e1092a5dcf610abf4d /src/main/res
parent05c1aa03779b6bf2a45e2ab89cb7e7f486eac037 (diff)
small layout fixes
Diffstat (limited to '')
-rw-r--r--src/main/res/layout/account_row.xml5
-rw-r--r--src/main/res/layout/activity_import_backup.xml6
-rw-r--r--src/main/res/values/strings.xml2
3 files changed, 9 insertions, 4 deletions
diff --git a/src/main/res/layout/account_row.xml b/src/main/res/layout/account_row.xml
index d6831ac26..f99f6c0dd 100644
--- a/src/main/res/layout/account_row.xml
+++ b/src/main/res/layout/account_row.xml
@@ -6,6 +6,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:selectableItemBackground"
+ android:paddingStart="8dp"
android:paddingLeft="8dp"
android:paddingTop="8dp"
android:paddingBottom="8dp">
@@ -14,6 +15,7 @@
android:id="@+id/account_image"
android:layout_width="48dp"
android:layout_height="48dp"
+ android:layout_alignParentStart="true"
android:layout_alignParentLeft="true"
android:contentDescription="@string/account_image_description"
app:riv_corner_radius="2dp" />
@@ -24,8 +26,10 @@
android:layout_centerVertical="true"
android:layout_toStartOf="@+id/tgl_account_status"
android:layout_toLeftOf="@+id/tgl_account_status"
+ android:layout_toEndOf="@+id/account_image"
android:layout_toRightOf="@+id/account_image"
android:orientation="vertical"
+ android:paddingStart="@dimen/avatar_item_distance"
android:paddingLeft="@dimen/avatar_item_distance">
<TextView
@@ -48,6 +52,7 @@
android:id="@+id/tgl_account_status"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:focusable="false"
diff --git a/src/main/res/layout/activity_import_backup.xml b/src/main/res/layout/activity_import_backup.xml
index e9ee433fe..7d12f78c9 100644
--- a/src/main/res/layout/activity_import_backup.xml
+++ b/src/main/res/layout/activity_import_backup.xml
@@ -6,7 +6,7 @@
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
- android:background="?attr/color_background_primary"
+ android:background="?attr/color_background_tertiary"
android:orientation="vertical">
<include
@@ -30,13 +30,13 @@
android:id="@+id/coordinator"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="?attr/color_background_primary">
+ android:background="?attr/color_background_tertiary">
<android.support.v7.widget.RecyclerView
android:id="@+id/list"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="?attr/color_background_primary"
+ android:background="?attr/color_background_tertiary"
android:orientation="vertical"
app:layoutManager="android.support.v7.widget.LinearLayoutManager" />
</android.support.design.widget.CoordinatorLayout>
diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml
index 058ae89e0..5f3d159e7 100644
--- a/src/main/res/values/strings.xml
+++ b/src/main/res/values/strings.xml
@@ -732,7 +732,7 @@
<string name="huawei_protected_apps">Protected Apps</string>
<string name="huawei_protected_apps_summary">To keep receiving notifications, even when the screen is turned off, you need to add Pix-Art Messenger to the list of protected apps.</string>
<string name="pref_enable_multi_accounts_title">Enable multiple accounts</string>
- <string name="pref_enable_multi_accounts_summary">You want to use multiple accounts, so you have to set a password for daily backups.</string>
+ <string name="pref_enable_multi_accounts_summary">Do you want to use multiple accounts?</string>
<string name="mtm_accept_cert">Accept Unknown Certificate?</string>
<string name="mtm_trust_anchor">The server certificate is not signed by a known Certificate Authority.</string>
<string name="mtm_accept_servername">Accept Mismatching Server Name?</string>