0

How to change the view of buttons in Android studio if I need it in vertical then what will be the coding by using Java

10th Jun 2020, 10:18 AM
Anurag Kumar
Anurag Kumar - avatar
12 Réponses
0
You can do it easily using XML but if you want to change it during runtime then you can use Java. A better solution I would suggest that you can use 2 buttons and make other one invisible then you can make it visible using Java like button.setVisibility(true);
10th Jun 2020, 10:21 AM
Hardik Sharma
Hardik Sharma - avatar
0
Ya I am using XML but I need my button in horizontal manner in my project of web view can u give me code 😊 for it a common code by you please
10th Jun 2020, 10:25 AM
Anurag Kumar
Anurag Kumar - avatar
0
Please send ur insta id
10th Jun 2020, 10:28 AM
Anurag Kumar
Anurag Kumar - avatar
0
I will delete these messages
10th Jun 2020, 10:28 AM
Anurag Kumar
Anurag Kumar - avatar
0
Personal information should not be asked and posted here, you can ask related to programming only.
10th Jun 2020, 10:30 AM
Hardik Sharma
Hardik Sharma - avatar
0
Ya i need ur help
10th Jun 2020, 10:30 AM
Anurag Kumar
Anurag Kumar - avatar
0
You can post your attempt here and community will help for sure
10th Jun 2020, 10:31 AM
Hardik Sharma
Hardik Sharma - avatar
0
Just u will use any desk
10th Jun 2020, 10:31 AM
Anurag Kumar
Anurag Kumar - avatar
0
And help me please
10th Jun 2020, 10:31 AM
Anurag Kumar
Anurag Kumar - avatar
0
Ok then how can I share image
10th Jun 2020, 10:34 AM
Anurag Kumar
Anurag Kumar - avatar
0
Here
10th Jun 2020, 10:34 AM
Anurag Kumar
Anurag Kumar - avatar
0
You can add your code in Code module then share it here
10th Jun 2020, 10:46 AM
Hardik Sharma
Hardik Sharma - avatar