Merge branch 'master' of github.com:neuf/DNSapp

This commit is contained in:
Robert Kolner committed 2011-12-05 16:38:59 +01:00
commit d52b0b4015
3 files changed
+19 -19

No files matched your search

@@ -17,13 +17,22 @@ import com.studentersamfundet.app.R;
public class DnsActivity extends BaseDnsActivity {
String[] openingHoursHouse = {
"13.00 - 01.00",
"13.00 - 01.00",
" - 01.30",
" - 03.00",
" - 03.00",
"15.00 - 03.00",
" - 19.00"};
"10.00 - 01.00",
"10.00 - 01.00",
"10.00 - 01.00",
"10.00 - 03.00",
"10.00 - 03.00",
"12.00 - 03.00",
"12.00 - 20.00"};
String[] openingHoursGB = {
"13.00 - 01.00",
"13.00 - 01.00",
"13.00 - 01.00",
"13.00 - 03.00",
"13.00 - 03.00",
"16.00 - 03.00",
"Stengt"};
String[] openingHoursBC = {
"19.00 - 00.00",
@@ -43,10 +52,12 @@ public class DnsActivity extends BaseDnsActivity {
/* Set opening hours: */
TextView tvNeuf = (TextView)findViewById(R.id.main_menu_hours_neuf);
TextView tvBC = (TextView)findViewById(R.id.main_menu_hours_bc);
// TextView tvGB = (TextView)findViewById(R.id.main_menu_hours_gb);
int day = (Calendar.getInstance().get(Calendar.DAY_OF_WEEK) + 5) % 7;
tvNeuf.setText(openingHoursHouse[day]);
tvBC.setText(openingHoursBC[day]);
// tvGB.setText(openingHoursBC[day]);
setupFocus();
}