mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-12 03:04:20 +00:00
5263ac1f1a
1) Broke out the UI elements of the major Activites into stylable attributes. 2) Created a 'light' and 'dark' theme for the newly stylable attrs. 3) Touched up some of the UI spacing. 4) Implemented dynamic theme switching support.
27 lines
961 B
XML
27 lines
961 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:minHeight="?android:attr/listPreferredItemHeight"
|
|
android:paddingTop="1dip"
|
|
android:paddingBottom="1dip"
|
|
android:paddingLeft="9dip"
|
|
android:paddingRight="9dip">
|
|
|
|
<ImageView android:id="@+id/icon"
|
|
android:paddingRight="9dip"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
<TextView android:id="@+id/text1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:textColor="@color/black"
|
|
android:gravity="center_vertical"
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
android:layout_gravity="center_horizontal|center_vertical" />
|
|
</LinearLayout>
|
|
|