Commit 2693c56c authored by Amin's avatar Amin

add bottom button on issue details

parent 82385bf3
......@@ -65,7 +65,7 @@
android:layout_width="0dp"
android:layout_height="0dp"
android:fillViewport="true"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintBottom_toTopOf="@id/bottom_bar"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/top_nav">
......@@ -74,7 +74,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingBottom="32dp">
android:paddingBottom="15dp">
<ImageView
android:id="@+id/image"
......@@ -315,4 +315,49 @@
</LinearLayout>
</LinearLayout>
</ScrollView>
<LinearLayout
android:id="@+id/bottom_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
android:gravity="center"
android:orientation="horizontal"
android:padding="20dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent">
<Button
android:id="@+id/backButtonBot"
android:layout_width="0dp"
android:layout_height="64dp"
android:layout_weight="1"
android:layout_marginEnd="10dp"
android:backgroundTint="@color/white"
android:clickable="true"
android:elevation="20dp"
android:focusable="true"
android:text="Edit Issue"
android:textColor="@color/primary"
android:textSize="17sp"
app:cornerRadius="21dp"
app:strokeColor="@color/primary"
app:strokeWidth="1dp" />
<Button
android:id="@+id/confirm_button"
android:layout_width="0dp"
android:layout_height="64dp"
android:layout_weight="1"
android:backgroundTint="@color/half_yellow"
android:clickable="true"
android:elevation="20dp"
android:focusable="true"
android:text="Withdraw Issue"
android:textColor="@android:color/white"
android:textSize="17sp"
app:cornerRadius="21dp"
android:paddingHorizontal="30dp"/>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
......@@ -13,10 +13,13 @@
<color name="grey">#6D6D6D</color>
<color name="light_grey">#EEEEEE</color>
<color name="yellow">#E4C212</color>
<color name="half_yellow">#4DE4C212</color>
<color name="blue">#2952D6</color>
<color name="red">#F14915</color>
<color name="red_half">#4DF14915</color>
<color name="green">#008000</color>
<color name="half_green">#4D008000</color>
......
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 to comment