第一篇:某服裝廠設(shè)計(jì)了一款新式夏裝(推薦)
某服裝廠設(shè)計(jì)了一款新式夏裝
(2012?黃岡)某服裝廠設(shè)計(jì)了一款新式夏裝,想盡快制作8800件投入市場(chǎng),服裝廠有AB兩個(gè)制衣間,A車(chē)間每天加工的數(shù)量是B車(chē)間的1.2倍,A、B兩車(chē)間共完成一半后,A車(chē)間出現(xiàn)故障停產(chǎn),剩下全部由B車(chē)間單獨(dú)完成,結(jié)果前后共用了20天完成,求A、B兩車(chē)間每天分別能加工多少件.(2012?黃岡)某服裝廠設(shè)計(jì)了一款新式夏裝,想盡快制作8800件投入市場(chǎng),服裝廠有AB兩個(gè)制衣間,A車(chē)間每天加工的數(shù)量是B車(chē)間的1.2倍,A、B兩車(chē)間共完成一半后,A車(chē)間出現(xiàn)故障停產(chǎn),剩下全部由B車(chē)間單獨(dú)完成,結(jié)果前后共用了20天完成,求A、B兩車(chē)間每天分別能加工多少件.
回答
A 384件,B 320件。
設(shè)A廠每天加工a件,則B廠每天加工1.2a件,共同加工b天,則B完成剩下一半用了20-b天,由題意可得
(1.2a+a)×b=4400……①
a(20-b)=4400……②
聯(lián)立①②式可解得a=320件,b=6天。即A廠每天加工1.2a=384件,B廠每天加工320件。
(計(jì)算結(jié)果取整數(shù),因?yàn)榧?shù)和天數(shù)都是整的)
第二篇:某服裝廠設(shè)計(jì)了一款新式夏裝(小編推薦)
某服裝廠設(shè)計(jì)了一款新式夏裝,想盡快制作8800件投入市場(chǎng),服裝廠有ab兩個(gè)制衣間,a車(chē)
某服裝廠設(shè)計(jì)了一款新式夏裝,想盡快制作8800件投入市場(chǎng),服裝廠有A,B兩個(gè)制衣車(chē)間,A車(chē)間每天加工的數(shù)量是B車(chē)間的1.2倍,A,B兩車(chē)間共同完成一半后,A車(chē)間出現(xiàn)故障停產(chǎn),剩下全部由B車(chē)間單獨(dú)完成,結(jié)果前后共用20天完成,求A,B兩車(chē)間每天分別能加工多少件? 參加答案 A 384件,B 320件。
設(shè)A廠每天加工a件,則B廠每天加工1.2a件,共同加工b天,則B完成剩下一半用了20-b天,由題意可得
(1.2a+a)×b=4400……①
a(20-b)=4400……②
聯(lián)立①②式可解得a=320件,b=6天。即A廠每天加工1.2a=384件,B廠每天加工320件。(計(jì)算結(jié)果取整數(shù),因?yàn)榧?shù)和天數(shù)都是整的)
第三篇:《電磁繼電器》創(chuàng)新式教學(xué)設(shè)計(jì)要點(diǎn)
《電磁繼電器》創(chuàng)新式教學(xué)設(shè)計(jì)
[教學(xué)目標(biāo)] 1.知道電磁繼電器的構(gòu)造和工作原理。2.培養(yǎng)學(xué)生的科學(xué)創(chuàng)造能力和動(dòng)手能力。[教學(xué)過(guò)程]
一、創(chuàng)設(shè)情境,提出問(wèn)題。
1.復(fù)習(xí)電磁鐵的構(gòu)造和工作原理。
2.教師出示兩幅掛圖。一幅圖上內(nèi)容為一高壓電路,提出問(wèn)題1:如何實(shí)現(xiàn)人在低電壓下操作高壓電路?另一幅圖上為幾種惡劣的工作環(huán)境,如高溫的煉鋼車(chē)間,有放射性危害的工作室(如醫(yī)院的X光室),有毒氣體的化工車(chē)間,噪聲很大的紡織車(chē)間等。提出問(wèn)題2:如何實(shí)現(xiàn)在舒適安全的房間里去控制惡劣環(huán)境里的用電器?由此引入到本節(jié)課的學(xué)習(xí)。
二、觀察實(shí)驗(yàn),解決問(wèn)題。1.電磁繼電器的構(gòu)造。
(1)引導(dǎo)學(xué)生觀察實(shí)驗(yàn)用的電磁繼電器,配合掛圖認(rèn)識(shí)它的各個(gè)部件及作用。找出哪些部件是活動(dòng)的,哪些部件是固定了的。
(2)給電磁繼電器通電,使學(xué)生清楚的看到通電和斷電時(shí),銜鐵的運(yùn)動(dòng)及觸點(diǎn)的閉合和斷開(kāi)情況。(3)請(qǐng)學(xué)生說(shuō)出電磁繼電器的核心部件和實(shí)質(zhì),理解電磁繼電器實(shí)質(zhì)上是一個(gè)由電磁鐵控制的開(kāi)關(guān)。2.電磁繼電器的工作原理。
(1)運(yùn)用掛圖分析電磁繼電器的工作過(guò)程。
①指出電磁鐵所在的電路中的電源是低壓電源。
②請(qǐng)學(xué)生說(shuō)出通電和斷電時(shí)電磁鐵將怎樣工作,包括銜鐵和彈簧怎樣運(yùn)動(dòng),觸點(diǎn)如何運(yùn)動(dòng),工作電路的通斷情況。
(2)從結(jié)構(gòu)上把電磁繼電器劃分為控制電路和工作電路兩大部分,使學(xué)生明白它們各由哪些部分組成和各自的作用。
3.演示實(shí)驗(yàn):用電磁繼電器控制電路。
(1)將課本中圖11—17的工作電路中的電動(dòng)機(jī)改為小燈泡并組成實(shí)驗(yàn)電路,引導(dǎo)學(xué)生觀察:電磁繼電器有幾個(gè)接線柱,哪些接控制電路,哪些接工作電路,哪。是控制電路,哪是工作電路?(2)演示繼電器的工作情況,引導(dǎo)學(xué)生先觀察控制電路通電和斷電時(shí)觸點(diǎn)閉合和斷開(kāi)的情況,然后觀察工作電路小燈泡的亮滅情況,4.電磁繼電器的作用。
(1)指出實(shí)際工作中,當(dāng)工作電路是對(duì)人體有危險(xiǎn)的高壓電路或惡劣環(huán)境中的用電器時(shí),利用電磁繼電器可以實(shí)現(xiàn)用低電壓,弱電流控制高電壓,強(qiáng)電流,還可實(shí)現(xiàn)遠(yuǎn)距離操作。
(2)出示各種自動(dòng)控制開(kāi)關(guān)和掛圖,據(jù)圖介紹各種自動(dòng)控制方式的工作原理 及實(shí)際應(yīng)用。如溫度控制、光自動(dòng)控制等。
三、想想議議,拓寬思路。
1.請(qǐng)學(xué)生分析討論課后習(xí)題中的防汛報(bào)警器、水位自動(dòng)報(bào)警器、溫度自動(dòng)報(bào)警器的工作原理。并引導(dǎo)學(xué)生認(rèn)識(shí)繼電器觸點(diǎn)的幾種類(lèi)型。
2.設(shè)計(jì)一個(gè)控制電路,要求是控制電路工作時(shí),工作電路中的燈泡熄滅,控制電路斷開(kāi)時(shí),燈泡反而工作? 3.設(shè)計(jì)一個(gè)控制電路實(shí)現(xiàn)對(duì)兩燈泡的交替控制。1 1 4.請(qǐng)學(xué)生展開(kāi)思維,自己設(shè)計(jì)一個(gè)利用電磁繼電器實(shí)現(xiàn)對(duì)某個(gè)電路控制的原理圖。學(xué)生說(shuō)出自己的設(shè)計(jì)的作用,然后教師適時(shí)的加以評(píng)論。
四、播放錄像,鞏固知識(shí)。
1.通過(guò)播放“電磁繼電器”的錄像,一方面使學(xué)生形象的了解電磁繼電器的各項(xiàng)用途,另一方面鞏固了本節(jié)課所學(xué)知識(shí)。
2.介紹實(shí)際的電磁繼電器,在使用時(shí)必須使控制電路中的電源電壓與繼電器上標(biāo)稱值一致,繼電器才能正常工作。
說(shuō)明
本節(jié)課是前面已學(xué)電磁鐵知識(shí)的運(yùn)用,通過(guò)本節(jié)課的學(xué)習(xí)要使學(xué)生明白,這些應(yīng)用都是人們認(rèn)識(shí)了電流的磁效應(yīng)后發(fā)明創(chuàng)造的,說(shuō)明理論知識(shí)在生產(chǎn)實(shí)踐中的重要作用。在本節(jié)課的教學(xué)中,通過(guò)實(shí)物演示與掛圖相結(jié)合使學(xué)生理解電磁繼電器的原理是教學(xué)的關(guān)鍵。只有在理解的基礎(chǔ)上,學(xué)生才能對(duì)不同的由電磁繼電器控制的電路作出解釋。對(duì)于控制電路的設(shè)計(jì)是本節(jié)課的高潮,教師引導(dǎo)學(xué)生充分發(fā)揮自己的想象力,設(shè)計(jì)出一個(gè)個(gè)有趣的控制工作電路運(yùn)行的方案,以調(diào)動(dòng)學(xué)生的積極性,培養(yǎng)學(xué)生的創(chuàng)造力。
教學(xué)后記 2
第四篇:一款基于Material Desgin設(shè)計(jì)的APP
一款基于Material Desgin設(shè)計(jì)的APP
介紹
淘School是一款基于MD的一款校園二手商品交易平臺(tái),當(dāng)然小編只是簡(jiǎn)單的開(kāi)發(fā)了一些功能,并沒(méi)有完善,只是想做一款MD的APP,并沒(méi)有交易支付的功能,只是把我感覺(jué)比較好的MD的一些組件融到了項(xiàng)目中,下面小編來(lái)詳細(xì)介紹一下用到的技術(shù):
因?yàn)樾【幏?wù)器端不是很熟練,所以就用了Bmob,還不錯(cuò)挺容易上手的,就依賴了它的兩個(gè)庫(kù)而已,網(wǎng)絡(luò)請(qǐng)求和模型都是封裝好的,我們直接調(diào)用就可以。
先看一下小編引用的一些庫(kù)吧:
compile 'com.android.support:appcompat-v7:23.1.0'
compile files('libs/BmobSDK_V3.4.5_1111.jar')
compile files('libs/okio-1.4.0.jar')
compile 'com.android.support:support-v4:23.1.0'
compile 'com.github.manuelpeinado.fadingactionbar:fadingactionbar-abc:3.1.2'
compile 'com.android.support:design:23.1.0'
compile 'com.pnikosis:materialish-progress:1.7'
compile 'me.drakeet.materialdialog:library:1.2.8'
compile 'com.jakewharton:butterknife:7.0.1'
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
compile 'com.weiwangcn.betterspinner:library:1.1.0' compile 'com.nineoldandroids:library:2.4.0'
1.Android Support Desgin
CollapsingAvatarToolbar 頭像隨ListView滾動(dòng)縮回到ActionBar特效
TextInputLayout帶動(dòng)畫(huà)的輸入框
2.ActionBarDrawerToggle、DrawerLayout、ActionBar 結(jié)合
3.RippleEffect水波紋效果
4.PagerSlidingTabStrip+viewpager實(shí)現(xiàn)選項(xiàng)卡左右滑動(dòng)
5.FloatActiconButton懸浮按鈕實(shí)現(xiàn)仿釘釘懸浮按鈕
6.PullToZoomScrollView實(shí)現(xiàn)下拉自動(dòng)放大頭部View
7.materialdialog實(shí)現(xiàn)的對(duì)話框
8.MaterialSpinner實(shí)現(xiàn)的帶效果的spinner
9.butterknife注解框架
小編用到的技術(shù)基本上就這些,下面小編會(huì)詳細(xì)的介紹一下。
技術(shù)實(shí)現(xiàn)
1.主界面
先介紹一下主界面吧,主界面小編用的是ActionBarDrawerToggle+DrawerLayout+ActionBar實(shí)現(xiàn)的滑動(dòng)抽屜效果。布局文件就不介紹了,這個(gè)用的也挺多的,網(wǎng)上資料也很多,介紹幾個(gè)方法吧
//設(shè)定左上角突變可點(diǎn)擊
getSupportActionBar().setHomeButtonEnabled(true);
// 給左上角圖標(biāo)的左邊加上一個(gè)返回的圖標(biāo)。對(duì)應(yīng)ActionBar.DISPLAY_HOME_AS_UP
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
//設(shè)置標(biāo)題 getSupportActionBar().setTitle(getResources().getString(R.string.action_title));
// 使自定義的普通View能在title欄顯示,即actionBar.setCustomView能起作用,對(duì)應(yīng)ActionBar.DISPLAY_SHOW_CUSTOM
actionBar.setDisplayShowCustomEnabled(true)closeDrawers();//關(guān)閉抽屜
2.滑動(dòng)選項(xiàng)卡
小編主界面的滑動(dòng)選項(xiàng)卡用的是PagerSlidingTabStrip+viewpager管理fragment
3.主界面的懸浮按鈕
懸浮按鈕在github上有Demo,用的是第一個(gè),然后重寫(xiě)了一下里面的滑動(dòng)監(jiān)聽(tīng)實(shí)現(xiàn)了listview滑動(dòng)顯示隱藏按鈕??匆幌虏季治募?/p>
android:id=“@+id/multiple_actions” android:layout_width=“wrap_content” android:layout_height=“wrap_content” android:layout_alignParentBottom=“true” android:layout_alignParentRight=“true” android:layout_alignParentEnd=“true” fab:fab_addButtonColorNormal=“@color/origle” fab:fab_addButtonColorPressed=“@color/origle_tab” fab:fab_addButtonPlusIconColor=“@color/white” fab:fab_labelStyle=“@style/menu_labels_style” android:layout_marginBottom=“@dimen/smaller_space” android:layout_marginRight=“@dimen/smaller_space” android:layout_marginEnd=“@dimen/smaller_space”> android:id=“@+id/fb_update” android:src=“@drawable/update” fab:fab_labelStyle=“@style/menu_labels_style” android:layout_width=“wrap_content” android:layout_height=“wrap_content” fab:fab_colorNormal=“@color/theme_color” fab:fab_colorPressed=“@color/theme_color_tab”/> android:id=“@+id/fb_new” fab:paddingEnd=“@dimen/small_space” android:src=“@drawable/edit” android:layout_width=“wrap_content” android:layout_height=“wrap_content” fab:fab_colorNormal=“@color/theme_color” fab:fab_colorPressed=“@color/theme_color_tab”/> android:id=“@+id/fb_person” android:layout_width=“wrap_content” android:layout_height=“wrap_content” android:src=“@drawable/title_person” fab:fab_colorNormal=“@color/theme_color” fab:fab_colorPressed=“@color/theme_color_tab”/>
下面是重寫(xiě)的ListView滑動(dòng)監(jiān)聽(tīng)實(shí)現(xiàn)顯示隱藏懸浮按鈕
public void attachToListView(@NonNull AbsListView listView,ScrollDirectionListener scrollDirectionListener,AbsListView.OnScrollListener onScrollListener){
AbsListViewScrollDetectorImpl scrollDetector = new AbsListViewScrollDetectorImpl();
scrollDetector.setScrollDirectionListener(scrollDirectionListener);
scrollDetector.setOnScrollListener(onScrollListener);
scrollDetector.setListView(listView);
scrollDetector.setScrollThreshold(mScrollThreshold);
listView.setOnScrollListener(scrollDetector);
}
private class AbsListViewScrollDetectorImpl extends AbsListViewScrollDetector {
private ScrollDirectionListener mScrollDirectionListener;
private AbsListView.OnScrollListener mOnScrollListener;
private void setScrollDirectionListener(ScrollDirectionListener scrollDirectionListener){
mScrollDirectionListener = scrollDirectionListener;
}
public void setOnScrollListener(AbsListView.OnScrollListener onScrollListener){
mOnScrollListener = onScrollListener;
}
@Override
public void onScrollDown(){
show();
if(mScrollDirectionListener!= null){
mScrollDirectionListener.onScrollDown();
}
}
@Override
public void onScrollUp(){
hide();
if(mScrollDirectionListener!= null){
mScrollDirectionListener.onScrollUp();
}
}
@Override
public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount,int totalItemCount){
if(mOnScrollListener!= null){
mOnScrollListener.onScroll(view, firstVisibleItem, visibleItemCount, totalItemCount);
}
super.onScroll(view, firstVisibleItem, visibleItemCount, totalItemCount);
}
@Override
public void onScrollStateChanged(AbsListView view, int scrollState){
if(mOnScrollListener!= null){
mOnScrollListener.onScrollStateChanged(view, scrollState);
}
super.onScrollStateChanged(view, scrollState);
}
}
public void show(){
show(true);
}
public void hide(){
hide(true);
}
public void show(boolean animate){
toggle(true, animate, false);
}
public void hide(boolean animate){
toggle(false, animate, false);
}
private void toggle(final boolean visible, final boolean animate, boolean force){
if(mVisible!= visible || force){
mVisible = visible;
int height = getHeight();
if(height == 0 &&!force){
ViewTreeObserver vto = getViewTreeObserver();
if(vto.isAlive()){
vto.addOnPreDrawListener(new ViewTreeObserver.OnPreDrawListener(){
@Override
public boolean onPreDraw(){
ViewTreeObserver currentVto = getViewTreeObserver();
if(currentVto.isAlive()){
currentVto.removeOnPreDrawListener(this);
}
toggle(visible, animate, true);
return true;
}
});
return;
}
}
int translationY = visible ? 0 : height + getMarginBottom();
if(an004km.cnimate){
ViewPropertyAnimator.animate(this).setInterpolator(mInterpolator)
.setDuration(TRANSLATE_DURATION_MILLIS)
.translationY(translationY);
} else {
ViewHelper.setTranslationY(this, translationY);
}
// On pre-Honeycomb a translated view is still clickable, so we need to disable clicks manually
if(!hasHoneycombApi()){
setClickable(visible);
}
}
}
private int getMarginBottom(){
int marginBottom = 0;
final ViewGroup.LayoutParams layoutParams = getLayoutParams();
if(layoutParams instanceof ViewGroup.MarginLayoutParams){
marginBottom =((ViewGroup.MarginLayoutParams)layoutParams).bottomMargin;
}
return marginBottom;
}
private boolean hasHoneycombApi(){
return Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB;
} }
然后再activity中這樣用:
fab.attachToListView(lvProduct, new ScrollDirectionListener(){
@Override
public void onScrollDown(){
Log.d(“ListViewFragment”, “onScrollDown()”);
}
@Override
public void onScrollUp(){
Log.d(“ListViewFragment”, “onScrollUp()”);
}
}, new AbsListView.OnScrollListener(){
@Override
public void onScrollStateChanged(AbsListView view, int scrollState){
Log.d(“ListViewFragment”, “onScrollStateChanged()”);
}
@Override
public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount){
Log.d(“ListViewFragment”, “onScroll()”);
}
});
很簡(jiǎn)單。
4.商品詳細(xì)界面上下滑動(dòng)頭像回到actionbar上
這個(gè)效果是小編一直都想實(shí)現(xiàn)的,因?yàn)榧夹g(shù)、時(shí)間、能力有限,所以一直沒(méi)去搞,在網(wǎng)上搜了好多相關(guān)的帖子,博客,終于讓我找到一個(gè)類(lèi)似的,做了一下改動(dòng)實(shí)現(xiàn)了。
這個(gè)技術(shù)是CoordinatorLayout+Toolbar+CollapsingAvatarToolbar實(shí)現(xiàn)的。實(shí)際上support desgin可以實(shí)現(xiàn)文字的上下滑動(dòng)但是沒(méi)有頭像的上下滑動(dòng)改變大小。CollapsingAvatarToolbar這個(gè)組件實(shí)現(xiàn)了這一效果,當(dāng)然并不是小編寫(xiě)的,只是小編改的,但是能改出來(lái)小編也已經(jīng)很高興了。給大家看一下布局:
android:id=“@+id/main_content” android:layout_width=“match_parent” android:layout_height=“match_parent” android:background=“@color/theme_color” android:clipToPadding=“true” android:fitsSystemWindows=“true”> android:id=“@+id/appbar” android:layout_width=“match_parent” android:layout_height=“200dp” android:theme=“@style/ThemeOverlay.AppCompat.Dark.ActionBar”> android:id=“@+id/collapsing_toolbar” android:layout_width=“match_parent” android:layout_height=“match_parent” app:contentScrim=“@color/theme_color” app:layout_scrollFlags=“scroll|exitUntilCollapsed”> android:id=“@+id/toolbar” android:layout_width=“match_parent” android:layout_height=“?attr/actionBarSize” app:layout_collapseMode=“pin” app:popupTheme=“@style/ThemeOverlay.AppCompat.Light” /> android:id=“@+id/stuff_container” android:layout_width=“wrap_content” android:layout_height=“?attr/actionBarSize” android:orientation=“vertical”> android:id=“@+id/usericon” android:layout_width=“40dp” android:layout_height=“40dp” android:layout_gravity=“center_vertical” android:src=“@drawable/defaut” /> android:id=“@+id/username” android:layout_width=“wrap_content” android:layout_height=“wrap_content” android:layout_gravity=“center_vertical” android:fontFamily=“sans-serif-medium” android:text=“Hankkin” android:textColor=“@android:color/white” android:textSize=“18dp” /> android:layout_width=“match_parent” android:layout_height=“match_parent” android:background=“@color/gray” app:layout_behavior=“@string/appbar_scrolling_view_behavior”> android:padding=“@dimen/small_space” android:orientation=“vertical” android:layout_width=“match_parent” android:layout_height=“wrap_content”> android:gravity=“center_vertical” android:padding=“@dimen/small_space” android:orientation=“horizontal” android:layout_width=“match_parent” android:layout_height=“wrap_content”> android:id=“@+id/iv_user_head” android:src=“@drawable/defaut” android:layout_width=“35dp” android:layout_height=“35dp” /> android:layout_marginLeft=“@dimen/small_space” android:textSize=“@dimen/normal_textSize” android:text=“Hankkin” android:textColor=“@color/black” android:layout_weight=“1” android:id=“@+id/tv_username” android:layout_width=“wrap_content” android:layout_height=“wrap_content” /> android:textColor=“@color/deep_gray” android:textSize=“@dimen/small_textSize” android:text=“asdas” android:id=“@+id/tv_time” android:layout_width=“wrap_content” android:layout_height=“wrap_content” /> android:layout_marginLeft=“@dimen/small_space” android:textColor=“@color/black” android:textSize=“@dimen/normal_textSize” android:id=“@+id/tv_pro_name” android:layout_width=“wrap_content” android:layout_height=“wrap_content” android:text=“二手” /> android:layout_marginLeft=“@dimen/small_space” android:textColor=“@color/black” android:textSize=“@dimen/normal_textSize” android:id=“@+id/tv_pro_desc” android:layout_width=“wrap_content” android:layout_height=“wrap_content” /> android:scaleType=“fitXY” android:id=“@+id/iv_product” android:layout_width=“match_parent” android:layout_height=“300dp” android:background=“@color/deep_gray” /> android:paddingBottom=“@dimen/small_space” android:orientation=“honc630.comrizontal” android:layout_width=“match_parent” android:layout_height=“wrap_content”> android:drawablePadding=“@dimen/tiny_space” android:drawableLeft=“@drawable/location” android:textSize=“@dimen/small_textSize” android:layout_marginTop=“@dimen/small_space” android:layout_marginLeft=“@dimen/middle_space” android:text=“天津理工大學(xué)” android:id=“@+id/tv_school” android:layout_weight=“1” android:layout_width=“wrap_content” android:layout_height=“wrap_content” /> android:textSize=“@dimen/small_textSize” android:textColor=“@color/theme_color” android:layout_marginRight=“@dimen/middle_space” android:layout_marginTop=“@dimen/small_space” android:text=“¥” android:id=“@+id/tv_price” android:layout_width=“wrap_content” android:layout_height=“wrap_content” /> android:layout_marginTop=“@dimen/middle_space” android:orientation=“horizontal” android:layout_width=“match_parent” android:layout_height=“64dp”> android:gravity=“center” android:layout_weight=“1” android:layout_width=“match_parent” android:layout_height=“match_parent”> android:src=“@drawable/telephone” android:layout_width=“wrap_content” android:layout_height=“match_parent” /> android:gravity=“center” android:layout_weight=“1” android:layout_width=“match_parent” android:layout_height=“match_parent”> android:src=“@drawable/sms” android:layout_width=“wrap_content” android:layout_height=“match_parent” /> android:gravity=“center” android:layout_weight=“1” android:layout_width=“match_parent” android:layout_height=“match_parent”> android:src=“@drawable/collect” android:layout_width=“wrap_content” android:layout_height=“match_parent” />
效果就這樣:
5.個(gè)人資料界面
用法也很簡(jiǎn)單,我們?cè)诓季掷锩媲短滓粋€(gè)PullToZoomScrollViewEx,而布局的head,content,footer都可以自定義,然后引用進(jìn)來(lái)就可以了。
PullToZoomScrollViewEx scrollView =(PullToZoomScrollViewEx)findViewById(R.id.my_pull_scoll);
headView = LayoutInflater.from(this).inflate(R.layout.profile_head_view, null, false);
zoomView = LayoutInflater.from(this).inflate(R.layout.profile_zoom_view, null, false);
contentView = LayoutInflater.from(this).inflate(R.layout.profile_contect_view, null, false);
scrollView.setHeaderView(headView);
scrollView.setZoomView(zoomView);
scrollView.setScrollContentView(contentView);
第五篇:你想設(shè)計(jì)一款具有自己個(gè)性文化衫
你想設(shè)計(jì)一款具有自己個(gè)性、突出特點(diǎn)的衣服嗎?
你想用你手中的七彩畫(huà)筆來(lái)定義你的校園嗎?
你想讓你和你的男(女)友共同制作的情侶衫成為別人的追捧之物嗎?
“涂鴉有理,想象無(wú)限”文化衫設(shè)計(jì)大賽將給你一個(gè)展示設(shè)計(jì)才華的平臺(tái),紅色象征熱情、橙色代表友愛(ài)、黃色喻義智慧、藍(lán)色象征自信;紫色昭示信仰、白色喻義誠(chéng)實(shí)、綠色暗示理智,熱情友愛(ài)智慧自信信仰誠(chéng)實(shí)理智成為了河蟹的校園文化,你的文化衫是什么樣的色彩呢?秀出你的設(shè)計(jì)才華吧!充滿陽(yáng)光的校園里,跳動(dòng)的七彩校園文化衫,拿起畫(huà)筆,閃爆眾人的眼球。
一、活動(dòng)單位
1、主辦單位
信息工程學(xué)院青年志愿者協(xié)會(huì)
二、文化衫設(shè)計(jì)大賽活動(dòng)安排
1、文化衫設(shè)計(jì)主題
作品設(shè)計(jì)要求主題鮮明、積極向上,能夠很好的體現(xiàn)青春的特點(diǎn),彰顯校園文化,顏色隨意搭配,圖案可自由創(chuàng)作,但內(nèi)容必須健康、積極、創(chuàng)新、聯(lián)系校園文化。
3、參賽方式
現(xiàn)場(chǎng)報(bào)名,登記后,領(lǐng)取合適號(hào)碼的空白體恤衫,現(xiàn)場(chǎng)打造屬于自己的個(gè)性文化衫。參賽者自愿參見(jiàn)評(píng)選,前五名可獲得空白涂鴉帆布鞋一雙。
注:參賽者需交15元報(bào)名參賽費(fèi),文化衫及繪畫(huà)工具由承辦方提供,參賽者自己繪制的文化衫在活動(dòng)結(jié)束后可以自愿帶走也可以將繪制的文化衫留下參加評(píng)選。
(本次大賽選用的衣服底色為白色,設(shè)計(jì)作品時(shí)請(qǐng)注意色彩搭配、色調(diào)河蟹、構(gòu)圖適中。
經(jīng)費(fèi):空白體恤5元/件*50=250元
涂料4元/瓶*35=140元
畫(huà)筆和調(diào)色盤(pán)若干=80元
獎(jiǎng)品帆布鞋5*20=100元總計(jì):570元。50件全部售出*15=750元 盈利180元。廣告宣傳費(fèi)用再議