This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return new Scaffold( | |
appBar: new AppBar( | |
title: new Text("Project Details"), | |
backgroundColor: Colors.blue[800]), | |
body: | |
new CustomScrollView( | |
slivers: <Widget>[ | |
new SliverPadding(padding: const EdgeInsets.only(left: 10.0,right: 10.0, | |
top: 10.0,bottom: 0.0), | |
sliver: new SliverList(delegate: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
long date = 1407869895000L; // August 12, 2014, 8:58PM | |
// August 12, 2014 (default) | |
DateUtils.formatDateTime(this, date, 0); | |
// Aug 12, 2014 (default with abbreviated month) | |
DateUtils.formatDateTime(this, date, DateUtils.FORMAT_ABBREV_MONTH); | |
// August 12 (date without year) | |
DateUtils.formatDateTime(this, date, DateUtils.FORMAT_NO_YEAR); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?><!-- | |
~ Copyright (C) 2015 The Android Open Source Project | |
~ | |
~ Licensed under the Apache License, Version 2.0 (the "License"); | |
~ you may not use this file except in compliance with the License. | |
~ You may obtain a copy of the License at | |
~ | |
~ http://www.apache.org/licenses/LICENSE-2.0 | |
~ | |
~ Unless required by applicable law or agreed to in writing, software |