Open EpsilonOrionis opened 9 years ago
Can you post the xml you used?
same issue
here is my Xml :
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical">
<android.support.v4.view.ViewPager
android:id="@+id/vp_intro"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<com.viewpagerindicator.CirclePageIndicator
android:id="@+id/cpi_intro"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_above="@+id/ll_intro_footer"
android:padding="10dip" />
<LinearLayout
android:id="@+id/ll_intro_footer"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_alignParentBottom="true"
android:layout_margin="20dp"
android:orientation="horizontal">
<com.rey.material.widget.Button
android:id="@+id/btn_intro_register"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginEnd="5dp"
android:layout_marginRight="5dp"
android:layout_weight="1"
android:background="@color/btn_blue"
android:text="@string/register"
android:textColor="@color/white"
android:textSize="@dimen/t1"
app:rd_backgroundColor="@color/btn_blue_dark"
app:rd_cornerRadius="4dp"
app:rd_enable="true" />
<com.rey.material.widget.Button
android:id="@+id/btn_intro_login"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginLeft="5dp"
android:layout_marginStart="5dp"
android:layout_weight="1"
android:background="@color/btn_gray"
android:text="@string/login"
android:textColor="@color/gray_dark"
android:textSize="@dimen/t1"
app:rd_backgroundColor="@color/btn_gray_dark"
app:rd_cornerRadius="4dp"
app:rd_enable="true" />
</LinearLayout>
The same, also rd_leftPadding and rd_rightPadding don't work either....
Has anybody had any lucky resolving this? I'm running into the same problem.
Hi, i think that "rd_" prefix is only for the "ripple" drawable, and not the button.
I can't make my button's corners rounded