66 lines
2.7 KiB
XML
66 lines
2.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2021 The Android Open Source 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.
|
|
-->
|
|
|
|
<com.android.launcher3.views.WidgetsEduView
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:gravity="bottom"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/edu_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/bg_rounded_corner_bottom_sheet"
|
|
android:gravity="center_horizontal"
|
|
android:orientation="vertical"
|
|
android:paddingHorizontal="@dimen/bottom_sheet_edu_padding"
|
|
android:paddingTop="@dimen/bottom_sheet_edu_padding">
|
|
|
|
<TextView
|
|
style="@style/TextHeadline"
|
|
android:id="@+id/edu_header"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_horizontal"
|
|
android:text="@string/widget_education_header"
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
android:textSize="24sp"
|
|
android:layout_marginBottom="16dp"/>
|
|
|
|
<TextView
|
|
android:id="@+id/edu_content"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_horizontal"
|
|
android:text="@string/widget_education_content"
|
|
android:textSize="14sp"
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
android:layout_marginBottom="24dp"/>
|
|
|
|
<Button
|
|
android:id="@+id/edu_close_button"
|
|
style="@style/Button.Rounded.Colored"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:text="@string/widget_education_close_button"
|
|
android:textSize="16sp"
|
|
android:textColor="@color/button_text"
|
|
android:layout_marginBottom="8dp"/>
|
|
</LinearLayout>
|
|
</com.android.launcher3.views.WidgetsEduView> |