ctrl + shift + f सार्वजनिक कक्षा के अंदर क्या काम करता है, में कोड को संरेखित कैसे करूं। लेकिन प्रारूपण विधि के अंदर काम नहीं करता है, देखें = चिह्न गठबंधन नहीं है। क्यूं कर? और मैं इसे काम करने के लिए कैसे प्राप्त करूं?ग्रहण फ़ॉर्मेटर: मैं अपनी विधि
public class myClass extends ActivityInstrumentationTestCase2 {
public static boolean myVar = true;
private static final String TARGET_PACKAGE_ID = "com.xxxx.test";
private static final String LAUNCHER_ACTIVITY_FULL_CLASSNAME = "com.xxxx.test";
private static Class launcherActivityClass;
...
...
private String getOnScreeninfoByType() {
ArrayList<TextView> textViews = new ArrayList<TextView>();
ArrayList<Button> listButtons = new ArrayList<Button>();
ArrayList<ToggleButton> listToggleButtons = new ArrayList<ToggleButton>();
ArrayList<EditText> listEditTexts = new ArrayList<EditText>();
ArrayList<CheckBox> listCheckBoxes = new ArrayList<CheckBox>();
ArrayList<RadioButton> listRadioButtons = new ArrayList<RadioButton>();
ArrayList<ImageButton> listImageButtons = new ArrayList<ImageButton>();
ArrayList<ImageView> listImageViews = new ArrayList<ImageView>();
ArrayList<ProgressBar> listProgressBars = new ArrayList<ProgressBar>();
...
}
धन्यवाद
के तहत ग्रहण में प्रोजेक्ट सेटिंग्स में देखें, यहां कुछ भी नहीं है, जो किसी विधि में संरेखित होगा। –