修改配置文件
<Button android:id="@+id/btnAppMore"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="详细信息>>"
android:layout_alignParentRight="true"
android:layout_marginLeft="150dp"
android:background="@android:color/transparent"
/>
动态设置
btn=(Button)findViewById(R.id.btnAppMore);
btn.setTextColor(Color.WHITE);
btn.setBackgroundColor(Color.TRANSPARENT); //背景透明
btn.getBackground().setAlpha(int); //int 在0-255之间, 设置半透明