Commit e9056a6a by likorn

ButtonNext as a style

parent 41503125
...@@ -10,13 +10,7 @@ ...@@ -10,13 +10,7 @@
<ImageButton <ImageButton
android:id="@+id/btn_next" android:id="@+id/btn_next"
android:layout_width="wrap_content" style="@style/ButtonNext"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_marginEnd="24dp"
android:layout_marginBottom="8dp"
android:background="#009C27B0"
android:tint="#FFFFFF"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toTopOf="parent"
......
...@@ -42,13 +42,7 @@ ...@@ -42,13 +42,7 @@
<ImageButton <ImageButton
android:id="@+id/btn_next" android:id="@+id/btn_next"
android:layout_width="wrap_content" style="@style/ButtonNext"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_marginEnd="24dp"
android:layout_marginBottom="8dp"
android:background="#009C27B0"
android:tint="@color/gradient_light"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toTopOf="parent"
......
...@@ -26,4 +26,14 @@ ...@@ -26,4 +26,14 @@
<item name="android:textAppearance">@style/TextAppearance.MaterialComponents.Headline4</item> <item name="android:textAppearance">@style/TextAppearance.MaterialComponents.Headline4</item>
</style> </style>
<style name="ButtonNext">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_marginTop">8dp</item>
<item name="android:layout_marginEnd">24dp</item>
<item name="android:layout_marginBottom">8dp</item>
<item name="android:background">@android:color/transparent</item>
<item name="android:tint">@color/white</item>
</style>
</resources> </resources>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment