Expand more buttons for ActionButtonPreference
Old design, we only need two action buttons in Settings app. In the future, we need four buttons for some use cases. Test: visual, robotest Bug: 120005054 Change-Id: I859fee8d7167ce59222059cc441e4a3c167c7b34
This commit is contained in:
@@ -55,7 +55,8 @@ public class BluetoothDetailsButtonsControllerTest extends BluetoothDetailsContr
|
||||
public void setUp() {
|
||||
super.setUp();
|
||||
final View buttons = View.inflate(
|
||||
RuntimeEnvironment.application, R.layout.two_action_buttons, null /* parent */);
|
||||
RuntimeEnvironment.application, R.layout.settings_action_buttons,
|
||||
null /* parent */);
|
||||
mConnectButton = buttons.findViewById(R.id.button2);
|
||||
mForgetButton = buttons.findViewById(R.id.button1);
|
||||
mController =
|
||||
|
Reference in New Issue
Block a user