112 lines
4.7 KiB
XML
112 lines
4.7 KiB
XML
<!--
|
|
Copyright (C) 2023-2024 the risingOS Android 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.
|
|
-->
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="350dp"
|
|
android:layout_marginHorizontal="28dp"
|
|
android:padding="24dp"
|
|
android:layout_gravity="center"
|
|
app:cardCornerRadius="16dp">
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<org.evolution.settings.utils.WallpaperView
|
|
android:id="@+id/wallpaper_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:scaleType="centerCrop" />
|
|
|
|
<androidx.viewpager.widget.ViewPager
|
|
android:id="@+id/view_pager"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@android:color/transparent" />
|
|
|
|
</FrameLayout>
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<!-- Font Message -->
|
|
<TextView
|
|
android:id="@+id/font_message"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="24dp"
|
|
android:layout_marginTop="24dp"
|
|
android:text="@string/ls_clock_custom_font_not_supported"
|
|
android:visibility="gone" />
|
|
|
|
<TextView
|
|
android:id="@+id/font_selector"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="24dp"
|
|
android:layout_marginHorizontal="24dp"
|
|
android:paddingVertical="6dp"
|
|
android:paddingHorizontal="12dp"
|
|
android:background="@drawable/custom_background"
|
|
android:text="@string/font_picker_select_font"
|
|
android:textSize="16sp"
|
|
android:drawableEnd="@drawable/ic_dropdown"
|
|
android:drawablePadding="8dp" />
|
|
|
|
<!-- Apply button -->
|
|
<com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton
|
|
android:id="@+id/apply_extended_fab"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/apply_button_text"
|
|
android:textAllCaps="false"
|
|
android:textColor="@color/settingslib_btn_colored_text_material"
|
|
android:theme="@style/Theme.CollapsingToolbar.Settings"
|
|
android:layout_marginEnd="24dp"
|
|
android:layout_gravity="end"
|
|
android:layout_marginTop="24dp"
|
|
style="@style/op_control_text_style_h6"
|
|
app:backgroundTint="@color/settingslib_btn_colored_background_material"
|
|
app:iconTint="@color/settingslib_btn_colored_text_material"
|
|
app:fabSize="normal"
|
|
app:icon="@drawable/ic_check_24dp" />
|
|
|
|
</LinearLayout>
|
|
|
|
<!-- Highlight Guide -->
|
|
<FrameLayout
|
|
android:id="@+id/highlight_guide"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:visibility="gone">
|
|
|
|
<include layout="@layout/highlight_guide" />
|
|
</FrameLayout>
|
|
|
|
</FrameLayout>
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|