mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-07 09:38:52 -06:00
Refactor custom views; fix rendering issues
This commit is contained in:
@@ -2,6 +2,6 @@
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<solid android:color="#30000000" />
|
||||
<solid android:color="#7f000000" />
|
||||
<corners android:radius="10dp" />
|
||||
</shape>
|
||||
@@ -11,7 +11,6 @@
|
||||
tools:context="org.isoron.uhabits.ShowHabitActivity">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/llOverview"
|
||||
style="@style/cardStyle"
|
||||
android:gravity="center">
|
||||
|
||||
@@ -28,10 +27,7 @@
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/llStrength"
|
||||
style="@style/cardStyle"
|
||||
android:gravity="center">
|
||||
<LinearLayout style="@style/cardStyle">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvStrength"
|
||||
@@ -41,7 +37,7 @@
|
||||
<org.isoron.uhabits.views.HabitScoreView
|
||||
android:id="@+id/scoreView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="180dp"/>
|
||||
android:layout_height="200dp"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -81,7 +77,7 @@
|
||||
<org.isoron.uhabits.views.HabitStreakView
|
||||
android:id="@+id/streakView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="180dp"/>
|
||||
android:layout_height="200dp"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
Reference in New Issue
Block a user