ToggleButtonLayout icon indicating copy to clipboard operation
ToggleButtonLayout copied to clipboard

How to change the size of toggle?

Open sabrimev opened this issue 4 years ago • 2 comments

Screenshot at Dec 14 18-27-28 I would like to change the size of the toggle but It does not work properly. If there is a way, can you please update me.

sabrimev avatar Dec 14 '19 15:12 sabrimev

Hey there, can you paste in here what your current XML looks like? Thanks!

Jawnnypoo avatar Dec 16 '19 18:12 Jawnnypoo

current app:customLayout in the custom layout set the font size.

custom layout example:

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="horizontal" android:padding="8dp">

<TextView
    android:textSize="@dimen/_12sp"
    android:id="@android:id/text1"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_gravity="center"
    android:gravity="center"
    android:textColor="@color/text_primary_to_white"
    tools:text="something" />

paktech1 avatar Jul 08 '20 01:07 paktech1