diff options
author | Joey Rizzoli <joey@lineageos.org> | 2017-11-09 16:05:00 +0100 |
---|---|---|
committer | Arne Coucheron <arco68@gmail.com> | 2018-01-19 00:27:13 +0100 |
commit | 97105a6eb4de7a9ec0509b5c60c05ab0f4aef08c (patch) | |
tree | a06bb7480f538ffae254a6928902cf982aa11b39 /res/layout | |
parent | aca5a8bc95c1461419039a2041a8a54a84f49790 (diff) | |
download | android_packages_apps_Trebuchet-97105a6eb4de7a9ec0509b5c60c05ab0f4aef08c.tar.gz android_packages_apps_Trebuchet-97105a6eb4de7a9ec0509b5c60c05ab0f4aef08c.tar.bz2 android_packages_apps_Trebuchet-97105a6eb4de7a9ec0509b5c60c05ab0f4aef08c.zip |
Launcher3: custom grid
Signed-off-by: Arne Coucheron <arco68@gmail.com>
Signed-off-by: Joey Rizzoli <joey@lineageos.org>
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/dialog_custom_grid.xml | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/res/layout/dialog_custom_grid.xml b/res/layout/dialog_custom_grid.xml new file mode 100644 index 000000000..aa54b78f7 --- /dev/null +++ b/res/layout/dialog_custom_grid.xml @@ -0,0 +1,59 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2017 The LineageOS Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="horizontal" + android:padding="16dp"> + + <LinearLayout + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:orientation="vertical"> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:textAlignment="center" + android:text="@string/grid_size_columns" /> + + <NumberPicker + android:id="@+id/dialog_grid_column" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginEnd="8dp" /> + </LinearLayout> + + <LinearLayout + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:orientation="vertical"> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:textAlignment="center" + android:text="@string/grid_size_rows" /> + + <NumberPicker + android:id="@+id/dialog_grid_row" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginEnd="8dp" /> + </LinearLayout> +</LinearLayout>
\ No newline at end of file |