Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/PojavLauncher
Path: blob/v3_openjdk/app_pojavlauncher/src/main/res/layout/dialog_cropper.xml
2130 views
1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout
3
xmlns:android="http://schemas.android.com/apk/res/android"
4
android:layout_width="match_parent"
5
android:layout_height="wrap_content"
6
android:orientation="vertical">
7
<net.kdt.pojavlaunch.imgcropper.CropperView
8
android:id="@+id/crop_dialog_view"
9
android:layout_width="match_parent"
10
android:layout_height="wrap_content"
11
android:layout_marginTop="@dimen/padding_moderate"
12
android:layout_marginStart="@dimen/padding_medium"
13
android:layout_marginEnd="@dimen/padding_medium"
14
android:layout_marginBottom="@dimen/padding_moderate" />
15
<LinearLayout
16
android:layout_width="match_parent"
17
android:layout_height="wrap_content"
18
android:orientation="horizontal"
19
android:layout_marginTop="@dimen/padding_medium"
20
android:layout_marginStart="@dimen/padding_medium"
21
android:layout_marginEnd="@dimen/padding_medium"
22
android:layout_marginBottom="@dimen/padding_medium">
23
<ToggleButton
24
android:id="@+id/crop_dialog_hlock"
25
android:layout_weight="1"
26
android:layout_width="0dp"
27
android:layout_height="match_parent"
28
android:textOn="@string/cropper_lock_horizontal"
29
android:textOff="@string/cropper_lock_horizontal"/>
30
<ToggleButton
31
android:id="@+id/crop_dialog_vlock"
32
android:layout_weight="1"
33
android:layout_width="0dp"
34
android:layout_height="match_parent"
35
android:textOn="@string/cropper_lock_vertical"
36
android:textOff="@string/cropper_lock_vertical"/>
37
<Button
38
android:id="@+id/crop_dialog_reset"
39
android:layout_weight="1"
40
android:layout_width="0dp"
41
android:layout_height="match_parent"
42
android:text="@string/cropper_reset"/>
43
</LinearLayout>
44
<ProgressBar
45
android:layout_width="match_parent"
46
android:layout_height="wrap_content"
47
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
48
android:id="@+id/crop_dialog_progressbar"
49
android:indeterminate="true"/>
50
</LinearLayout>
51