small change

This commit is contained in:
icewithcola 2024-06-12 22:49:36 +08:00
parent 35fae8019f
commit ef243968c3
3 changed files with 40 additions and 3 deletions

View file

@ -12,8 +12,8 @@ android {
applicationId = "uk.kagurach.android101" applicationId = "uk.kagurach.android101"
minSdk = 31 minSdk = 31
targetSdk = 34 targetSdk = 34
versionCode = 159 versionCode = 160
versionName = "1.5.9" versionName = "1.6"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
} }

View file

@ -62,7 +62,7 @@
<activity <activity
android:name=".todoList.TodoListMainActivity" android:name=".todoList.TodoListMainActivity"
android:exported="true" android:exported="true"
android:label="todoListMain" android:label="@string/todo_app"
android:theme="@style/Theme.TODOList"> android:theme="@style/Theme.TODOList">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />

View file

@ -6,5 +6,42 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
tools:context=".baoleme.BaolemaMainActivity"> tools:context=".baoleme.BaolemaMainActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<ScrollView
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:orientation="vertical">
</ScrollView>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:paddingTop="8dp"
android:paddingBottom="15dp"
>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginStart="15dp"
android:orientation="vertical"
android:background="?colorSecondary"
>
<ImageButton
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="123456"
android:textSize="20sp"
/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>