mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-08 18:18:52 -06:00
Add ripple effect to check mark widget
This commit is contained in:
@@ -18,12 +18,11 @@
|
||||
~ with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
<LinearLayout
|
||||
<RelativeLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:padding="0dp">
|
||||
|
||||
<ImageView
|
||||
@@ -33,4 +32,18 @@
|
||||
android:adjustViewBounds="true"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
<FrameLayout
|
||||
android:id="@+id/buttonOverlay"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<Button
|
||||
android:id="@+id/button"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/widget_button_background"
|
||||
/>
|
||||
</FrameLayout>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -58,6 +58,7 @@
|
||||
android:maxLines="2"
|
||||
android:layout_marginTop="4dp"
|
||||
android:layout_marginBottom="4dp"
|
||||
android:fontFamily="sans-serif-condensed"/>
|
||||
android:fontFamily="sans-serif-condensed"
|
||||
android:breakStrategy="balanced" />
|
||||
|
||||
</LinearLayout>
|
||||
Reference in New Issue
Block a user