This commit is contained in:
lunaticbum
2024-09-06 18:13:00 +09:00
parent 1ca2b360d7
commit b963bbedaf
16 changed files with 538 additions and 241 deletions
+14 -3
View File
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.LinearLayoutCompat
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
@@ -7,6 +7,7 @@
android:orientation="vertical">
<com.google.android.material.button.MaterialButtonToggleGroup
app:layout_constraintTop_toTopOf="parent"
android:id="@+id/expandableButtons"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -31,7 +32,15 @@
/>
</com.google.android.material.button.MaterialButtonToggleGroup>
<TextView
app:layout_constraintTop_toBottomOf="@id/expandableButtons"
android:id="@+id/consoleLog"
android:maxHeight="300dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
<RelativeLayout
app:layout_constraintTop_toBottomOf="@id/consoleLog"
android:id="@+id/explayer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="10dp">
@@ -50,10 +59,12 @@
</RelativeLayout>
<ScrollView
app:layout_constraintTop_toBottomOf="@id/explayer"
android:layout_margin="10dp"
android:background="@drawable/base_bg"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_height="0dp"
app:layout_constraintBottom_toBottomOf="parent"
android:fillViewport="true"
android:scrollbars="none">
<androidx.appcompat.widget.LinearLayoutCompat
@@ -63,4 +74,4 @@
android:orientation="vertical"/>
</ScrollView>
</androidx.appcompat.widget.LinearLayoutCompat>
</androidx.constraintlayout.widget.ConstraintLayout>
+9 -6
View File
@@ -1,19 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_margin="5dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:app="http://schemas.android.com/apk/res-auto">
<!--rasel.lunar.launcher.view.CircleImageView-->
<ImageView
app:layout_constraintTop_toTopOf="parent"
<com.google.android.material.imageview.ShapeableImageView
app:layout_constraintTop_toTopOf="@id/title"
app:shapeAppearanceOverlay="@style/roundedImageView"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintBottom_toBottomOf="@id/date"
android:id="@+id/circle_preview"
android:scaleType="fitCenter"
android:adjustViewBounds="true"
android:layout_width="120dp"
android:layout_height="wrap_content"/>
android:layout_width="wrap_content"
android:layout_height="0dp"/>
<TextView
android:id="@+id/title"
@@ -7,7 +7,7 @@
android:id="@+id/colorInputLayout"
android:layout_width="@dimen/oneNinetySix"
android:layout_height="wrap_content"
android:hint="@string/argb"
android:hint="inpout text"
app:boxBackgroundColor="?attr/colorSurface"
app:endIconMode="clear_text"
app:layout_constraintEnd_toEndOf="parent"
@@ -23,5 +23,4 @@
android:inputType="textPassword" />
</com.google.android.material.textfield.TextInputLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
+5
View File
@@ -15,4 +15,9 @@
<item name="sliderStyle">@style/Slider</item>
<item name="scrimBackground">@color/almost_transparent</item>
</style>
<style name="roundedImageView" parent="">
<item name="cornerFamily">rounded</item>
<item name="cornerSize">8dp</item>
</style>
</resources>