|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<!-- Copyright (C) 2020 Shift GmbH |
| 3 | +
|
| 4 | + Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | + you may not use this file except in compliance with the License. |
| 6 | + You may obtain a copy of the License at |
| 7 | +
|
| 8 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | +
|
| 10 | + Unless required by applicable law or agreed to in writing, software |
| 11 | + distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | + See the License for the specific language governing permissions and |
| 14 | + limitations under the License. |
| 15 | +--> |
| 16 | +<LinearLayout |
| 17 | + xmlns:android="http://schemas.android.com/apk/res/android" |
| 18 | + xmlns:settings="http://schemas.android.com/apk/res-auto" |
| 19 | + android:layout_width="match_parent" |
| 20 | + android:layout_height="wrap_content" |
| 21 | + android:gravity="center" |
| 22 | + android:orientation="vertical" |
| 23 | + android:paddingBottom="12dp" |
| 24 | + android:paddingTop="12dp"> |
| 25 | + |
| 26 | + <LinearLayout |
| 27 | + android:layout_width="match_parent" |
| 28 | + android:layout_height="wrap_content" |
| 29 | + android:gravity="center" |
| 30 | + android:orientation="horizontal" |
| 31 | + android:minHeight="?android:attr/listPreferredItemHeightSmall" |
| 32 | + android:paddingBottom="12dp"> |
| 33 | + <ImageView |
| 34 | + android:id="@+id/pref_icon_a" |
| 35 | + android:layout_height="56dp" |
| 36 | + android:layout_width="0dp" |
| 37 | + android:layout_weight="1" /> |
| 38 | + <ImageView |
| 39 | + android:id="@+id/pref_icon_b" |
| 40 | + android:layout_height="56dp" |
| 41 | + android:layout_width="0dp" |
| 42 | + android:layout_weight="1" /> |
| 43 | + <ImageView |
| 44 | + android:id="@+id/pref_icon_c" |
| 45 | + android:layout_height="56dp" |
| 46 | + android:layout_width="0dp" |
| 47 | + android:layout_weight="1" /> |
| 48 | + <ImageView |
| 49 | + android:id="@+id/pref_icon_d" |
| 50 | + android:layout_height="56dp" |
| 51 | + android:layout_width="0dp" |
| 52 | + android:layout_weight="1" /> |
| 53 | + </LinearLayout> |
| 54 | + |
| 55 | + <LinearLayout |
| 56 | + android:layout_width="match_parent" |
| 57 | + android:layout_height="wrap_content" |
| 58 | + android:gravity="center" |
| 59 | + android:orientation="horizontal" |
| 60 | + android:minHeight="?android:attr/listPreferredItemHeightSmall" |
| 61 | + android:paddingTop="12dp"> |
| 62 | + <ImageView |
| 63 | + android:id="@+id/pref_icon_e" |
| 64 | + android:layout_height="56dp" |
| 65 | + android:layout_width="0dp" |
| 66 | + android:layout_weight="1" /> |
| 67 | + <ImageView |
| 68 | + android:id="@+id/pref_icon_f" |
| 69 | + android:layout_height="56dp" |
| 70 | + android:layout_width="0dp" |
| 71 | + android:layout_weight="1" /> |
| 72 | + <ImageView |
| 73 | + android:id="@+id/pref_icon_g" |
| 74 | + android:layout_height="56dp" |
| 75 | + android:layout_width="0dp" |
| 76 | + android:layout_weight="1" /> |
| 77 | + <ImageView |
| 78 | + android:id="@+id/pref_icon_h" |
| 79 | + android:layout_height="56dp" |
| 80 | + android:layout_width="0dp" |
| 81 | + android:layout_weight="1" /> |
| 82 | + </LinearLayout> |
| 83 | + |
| 84 | +</LinearLayout> |
0 commit comments