Reformat the title card in About
This commit is contained in:
parent
7394b5365b
commit
da17ff33f7
2 changed files with 19 additions and 26 deletions
|
@ -22,23 +22,21 @@
|
|||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:paddingBottom="@dimen/activity_margin_small" >
|
||||
android:padding="@dimen/activity_margin_small"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/card_thumbnail_size"
|
||||
android:layout_height="@dimen/card_thumbnail_size"
|
||||
android:layout_marginEnd="@dimen/activity_margin_medium"
|
||||
android:src="@mipmap/ic_launcher"/>
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?android:attr/listPreferredItemHeight"
|
||||
android:padding="@dimen/activity_margin_small"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:gravity="center_vertical" >
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/activity_margin"
|
||||
android:layout_marginEnd="@dimen/activity_margin_large"
|
||||
android:src="@mipmap/ic_launcher"/>
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?android:attr/selectableItemBackground">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
|
@ -47,16 +45,13 @@
|
|||
android:textStyle="bold"
|
||||
android:text="@string/app_name"/>
|
||||
|
||||
</LinearLayout>
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/about_description" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/activity_margin_large"
|
||||
android:layout_marginEnd="@dimen/activity_margin_large"
|
||||
android:textAlignment="center"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/about_description" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
|
|
@ -2,9 +2,7 @@
|
|||
<resources>
|
||||
<string name="about_activity_title">About</string>
|
||||
|
||||
<string name="about_description">
|
||||
An open-source two-factor authentication App for Android 4.4+.
|
||||
</string>
|
||||
<string name="about_description">Open source two-factor authentication for Android</string>
|
||||
|
||||
<!-- Misc -->
|
||||
<string name="about_label_changelog">Changelog</string>
|
||||
|
|
Loading…
Reference in a new issue