diff --git a/README.md b/README.md index 07fb7c9..79b046b 100644 --- a/README.md +++ b/README.md @@ -24,30 +24,29 @@ I have just figured out missing bits & pieces and made a simple library out of i Usage : -XML Layout - - - - - -Java - - - public class MainActivity extends Activity { - private TimelyView timelyView; - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - setContentView(R.layout.activity_main); - timelyView = (TimelyView) findViewById(R.id.textView1); - - } - } - +XML Layout: +``` xml + +``` + +Java: +``` java + public class MainActivity extends Activity { + private TimelyView timelyView; + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_main); + timelyView = (TimelyView) findViewById(R.id.textView1); + } + } +``` License --------