我已經搜索了幾周,但目前還沒有答案。大多數建議是使用drawablepadding:left,但這隻會增加離開按鈕的空間。 我也嘗試drawablemargin:左和右,但他們不會把按鈕靠近邊緣。 這裏是我有的按鈕; button with drawable left 這是我希望達到的目的: button with drawable close to edge 這裏的XML片段: <Button
我有RecyclerView填充ListView。在每個ListView有一個Button,它增加了列表。 這裏如果沒有按它 這裏是被按下時,該按鈕的外觀按鈕的外觀, 我該如何保留but噸每個ListView恭敬地按? 這是我的適配器 public class BuildCustomAdapter extends RecyclerView.Adapter<BuildCustomAdapter.My