comparison src/com/five_ten_sg/connectbot/HelpActivity.java @ 307:071eccdff8ea ganymed

fix java formatting
author Carl Byington <carl@five-ten-sg.com>
date Wed, 30 Jul 2014 14:16:58 -0700
parents 29a431920007
children f7e09771172f
comparison
equal deleted inserted replaced
305:d2b303406d63 307:071eccdff8ea
48 this.setTitle(String.format("%s: %s", 48 this.setTitle(String.format("%s: %s",
49 getResources().getText(R.string.app_name), 49 getResources().getText(R.string.app_name),
50 getResources().getText(R.string.title_help))); 50 getResources().getText(R.string.title_help)));
51 AssetManager am = this.getAssets(); 51 AssetManager am = this.getAssets();
52 LinearLayout content = (LinearLayout)this.findViewById(R.id.topics); 52 LinearLayout content = (LinearLayout)this.findViewById(R.id.topics);
53
53 try { 54 try {
54 for (String name : am.list(HELPDIR)) { 55 for (String name : am.list(HELPDIR)) {
55 if (name.endsWith(SUFFIX)) { 56 if (name.endsWith(SUFFIX)) {
56 Button button = new Button(this); 57 Button button = new Button(this);
57 final String topic = name.substring(0, name.length() - SUFFIX.length()); 58 final String topic = name.substring(0, name.length() - SUFFIX.length());