mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-26 09:38:52 -05:00
8180fd9ad2
Originally I wanted to use a Spinner, but it doesn't support multiple view types (see [1]). Those are necessary because we use different layouts for accounts (section headers) and identities (selectable list items). Removed the ChooseAccount activity because it's now unused.
24 lines
794 B
XML
24 lines
794 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:orientation="horizontal"
|
|
android:background="#cccccc"
|
|
android:gravity="left|center_vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/name"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:singleLine="true"
|
|
android:ellipsize="end"
|
|
android:paddingTop="2dp"
|
|
android:paddingLeft="18dp"
|
|
android:paddingRight="4dp"
|
|
android:paddingBottom="2dp"
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
android:textAppearance="?android:attr/textAppearanceSmall"/>
|
|
|
|
</LinearLayout>
|